﻿@model N03_11HCA_HTTTHD.Models.TimMua_ChiTiet
@{
    ViewBag.Title = "Tìm mua chi tiết";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section JavaScriptCSSImport{
    <link href="@Url.Content("~/Content/mycontent/list_counter.css")" rel="stylesheet" type="text/css"/>
}

@section MenuImport{
    <ul class="nav">
        <li><a href="/ChaoBan">Chào bán</a></li>
        <li><a href="/TimMua" class="current">Tìm mua</a></li>
        <li><a href="/DoanhNghiep">Doanh nghiệp</a></li>
        <li><a href="/TinTuc">Tin tức</a></li>
    </ul>
}

@section MenuTraiImport{
    @Html.Action("MenuTraiTimMua", "Home");
}

<table class="rong100p">
    <tbody>
        <tr>
            <td colspan="2">
                <span>THÔNG TIN TÌM MUA</span>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <span>THÔNG TIN CHUNG</span>
            </td>
        </tr>
        <tr>
            <td style="width: 30%">
                <span >Tên tiếng Việt:</span>
            </td>
            <td>
                <span>@Model.ttTimMua.TenViet</span>
            </td>
        </tr>
        <tr>
            <td>
                <span>Tên tiếng Anh:</span>
            </td>
            <td>
                <span>@Model.ttTimMua.TenAnh</span>
            </td>
        </tr>

        <tr>
            <td>
                <span>Mô tả: </span>
            </td>
            <td>
                <span>@Model.ttTimMua.MoTa</span>
            </td>
        </tr>
        <tr>
            <td>
                <span>Xuất xứ: </span>
            </td>
            <td>
                @Model.ttTimMua.XuatXu
            </td>
        </tr>

        <tr>
            <td>
                <span>Đạt tiêu chuẩn: </span>
            </td>
            <td>
                <table border="0" cellpadding="0" cellspacing="0">
                    <tbody>
                        <tr>
                            <td>
                                <span>Tiêu chuẩn Việt Nam</span>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        @if(@Model.ttTimMua.SanXuatSauNam!= null){
        <tr>
            <td valign="top">
                <span>Sản xuất sau năm: </span>
            </td>
            <td valign="top">
                <span>@Model.ttTimMua.SanXuatSauNam</span>
            </td>
        </tr>
        }
        <tr>
            <td colspan="2">
                <span>THÔNG TIN PHÂN LOẠI</span>
            </td>
        </tr>
        <tr>
            <td valign="top">
                <span>Thuộc lĩnh vực:</span>
            </td>
            <td>
            <table  class="rong100p">
                    <tbody>
                    @for (int i = 0; i < Model.ListDanhMucSanPham.Count; i++)
                    {
                        String id = "idPhanLoai" + @Model.ListDanhMucSanPham[i].ID;
                        <tr>
                            <td>
                             <input type ="checkbox" checked="checked" value="ten" id="@id" disabled="disabled"/> 
                                <label for="@id"><a href="/Home/DanhMucTimMua/@Model.ListDanhMucSanPham[i].ID">@Model.ListDanhMucSanPham[i].TenDanhMuc</a></label>
                            </td>
                        </tr>
                    }
                    </tbody>
                </table>
            </td>
        </tr>
        <td >
                <span>Liên hệ</span>
            </td>
            <td >
                <a class="mailTo" href="/Home/LienHe/@Model.ttTimMua.IDNguoiDang"></a>
            </td>
        </tr>
    </tbody>
</table>